isTransparentBackgroundEnabled

Returns true when the transparent background on the web pages is enabled.

This method supports only the OFF_SCREEN rendering mode on Windows and Linux, and the both rendering modes on macOS. Throws an exception if the current rendering mode is not supported.

Since

7.2

Throws

when the current browser is already closed

when the current rendering mode is not supported